<script lang="ts">
export default {
  setup() {
    const router = useRouter()
    const route = useRoute()
    console.log("route", route.params)
    router.replace({
      path: "/" + route.params.path,
      query: route.query
    })
  },
  render() {
    return h("aaa")
  }
}
</script>
